package com.hassean.we.admin.model.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yajun
 * @since 2019-03-29
 */
@TableName("tb_rescue")
public class TbRescue extends Model<TbRescue> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "rescue_id", type = IdType.AUTO)
    private Long rescueId;
    @TableField("seek_help_phone_number")
    private String seekHelpPhoneNumber;
    @TableField("rescue_team_id")
    private Long rescueTeamId;
    @TableField("seek_help_terminal_Id")
    private Long seekHelpTerminalId;
    @TableField("add_time")
    private Date addTime;
    @TableField("update_time")
    private Date updateTime;
    private Integer state;
    private String content;
    private String location;
    private String beam;
    private Long status;
    private String remark;
    @TableField("advance_text")
    private String advanceText;
    @TableField("advance_date")
    private Date advanceDate;
    @TableField("del_flag")
    private String delFlag;


    public Long getRescueId() {
        return rescueId;
    }

    public void setRescueId(Long rescueId) {
        this.rescueId = rescueId;
    }

    public String getSeekHelpPhoneNumber() {
        return seekHelpPhoneNumber;
    }

    public void setSeekHelpPhoneNumber(String seekHelpPhoneNumber) {
        this.seekHelpPhoneNumber = seekHelpPhoneNumber;
    }

    public Long getRescueTeamId() {
        return rescueTeamId;
    }

    public void setRescueTeamId(Long rescueTeamId) {
        this.rescueTeamId = rescueTeamId;
    }

    public Long getSeekHelpTerminalId() {
        return seekHelpTerminalId;
    }

    public void setSeekHelpTerminalId(Long seekHelpTerminalId) {
        this.seekHelpTerminalId = seekHelpTerminalId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getBeam() {
        return beam;
    }

    public void setBeam(String beam) {
        this.beam = beam;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAdvanceText() {
        return advanceText;
    }

    public void setAdvanceText(String advanceText) {
        this.advanceText = advanceText;
    }

    public Date getAdvanceDate() {
        return advanceDate;
    }

    public void setAdvanceDate(Date advanceDate) {
        this.advanceDate = advanceDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.rescueId;
    }

    @Override
    public String toString() {
        return "TbRescue{" +
        ", rescueId=" + rescueId +
        ", seekHelpPhoneNumber=" + seekHelpPhoneNumber +
        ", rescueTeamId=" + rescueTeamId +
        ", seekHelpTerminalId=" + seekHelpTerminalId +
        ", addTime=" + addTime +
        ", updateTime=" + updateTime +
        ", state=" + state +
        ", content=" + content +
        ", location=" + location +
        ", beam=" + beam +
        ", status=" + status +
        ", remark=" + remark +
        ", advanceText=" + advanceText +
        ", advanceDate=" + advanceDate +
        ", delFlag=" + delFlag +
        "}";
    }
}
